package inst.ejb.utilities;

import java.io.Serializable;

public class PageInfo implements Serializable {
	private boolean switchingPage = false;
	/**
	 * @uml.property name="pageIndex"
	 */
	private Integer pageIndex = 1;
	/**
	 * @uml.property name="pageTotal"
	 */
	private Integer pageTotal = 0;
	/**
	 * @uml.property name="pageSize"
	 */
	private Integer pageSize = 15;
	/**
	 * @uml.property name="firstResult"
	 */
	private Integer firstResult = 0;
	/**
	 * @uml.property name="recordCount"
	 */
	private Integer recordCount = 0;

	/**
	 * @return
	 * @uml.property name="pageIndex"
	 */
	public Integer getPageIndex() {
		return pageIndex;
	}

	/**
	 * @param pageIndex
	 * @uml.property name="pageIndex"
	 */
	public void setPageIndex(Integer pageIndex) {
		this.pageIndex = pageIndex;
	}

	/**
	 * @return
	 * @uml.property name="pageTotal"
	 */
	public Integer getPageTotal() {
		return pageTotal;
	}

	/**
	 * @param pageTotal
	 * @uml.property name="pageTotal"
	 */
	public void setPageTotal(Integer pageTotal) {
		this.pageTotal = pageTotal;
	}

	/**
	 * @return
	 * @uml.property name="pageSize"
	 */
	public Integer getPageSize() {
		return pageSize;
	}

	/**
	 * @param pageSize
	 * @uml.property name="pageSize"
	 */
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	/**
	 * @return
	 * @uml.property name="firstResult"
	 */
	public Integer getFirstResult() {
		return firstResult;
	}

	/**
	 * @param firstResult
	 * @uml.property name="firstResult"
	 */
	public void setFirstResult(Integer firstResult) {
		this.firstResult = firstResult;
	}

	/**
	 * @return
	 * @uml.property name="recordCount"
	 */
	public Integer getRecordCount() {
		return recordCount;
	}

	/**
	 * @param recordCount
	 * @uml.property name="recordCount"
	 */
	public void setRecordCount(Integer recordCount) {
		this.recordCount = recordCount;
	}

	public boolean isSwitchingPage() {
		return switchingPage;
	}

	public void setSwitchingPage(boolean switchingPage) {
		this.switchingPage = switchingPage;
	}

}
